package com.product.android.commonInterface.task;

import org.json.JSONObject;

import com.common.android.utils.JSONUtils;

/**
 * ClassName:BirthUserData
 * Function: 寿星生日祝福信息
 * Reason:	 TODO ADD REASON
 * 
 * @author   linsj	
 * @version  
 * @since    Ver 1.3.0
 * @Date	 2014	2014-2-25		下午2:42:43
 *
 * @see 	 
 */
public class BirthUserData {
	public String strBirthday = "";  	//生日日期，格式：20130101(年月日)
	public int iBlessCount = 0; 		//被祝福次数
	public int iBlessed = 0;			//当前用户是否已祝福过，0-未祝福，1-已祝福
	
	public BirthUserData(JSONObject json){
		if (null != json) {
			strBirthday = JSONUtils.getString(json, "birthday");
			iBlessCount = JSONUtils.getInt(json, "blesscount");
			iBlessed = JSONUtils.getInt(json, "isblessed");
		}		
	}
}
